/*
 * Vertex.h
 *
 *  Created on: 2012-04-20
 *      Author: tony
 */

#ifndef VERTEX_H_
#define VERTEX_H_

#include <string>

namespace graph {

class Vertex {
public:
	Vertex();
	Vertex(int n): number( n ){}
	Vertex(const Vertex& o): number(o.number), name(o.name){}
	virtual ~Vertex();
	int getNumber(){ return number; }
	std::string getName(){ return name; }
private:
	const int number;
	std::string name;
};

} /* namespace graph */
#endif /* VERTEX_H_ */
